home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
7_10.lha
/
7_10
/
makefile
< prev
next >
Wrap
Makefile
|
1993-08-08
|
3KB
|
106 lines
C= b6CC -I. -I../../CC
FLAGS= -g
RROR= ../../error.a
ll: test1 test2 test3 test4 test5 test6
BJ= po_dest.o po_error.o po_alert.o po_pending.o \
po_forget.o po_print.o \
qh_cons.o qh_cut.o qh_des.o qh_get.o qh_pending.o qh_putback.o qh_splice.o qh_tail.o \
qt_cons.o qt_cut.o qt_des.o qt_head.o qt_pending.o qt_put.o qt_splice.o \
qm_print.o ps_print.o \
sem_pending.o \
int_pending.o \
stkdir.o \
p_cons.o p_des.o p_dumpall.o \
p_exit.o p_kill.o p_main.o p_pause.o p_pending.o \
p_restore.o p_result.o p_rmlist.o \
p_runtask.o p_save.o p_schedule.o p_stime.o \
p_setprior.o p_shuffle.o p_sleep.o p_wait.o p_waitvec.o p_wakeup.o
est1: test1.o $(OBJ) ; $(CC) -o test1 $(CFLAGS) test1.o $(OBJ) $(ERROR)
est2: test2.o $(OBJ) ; $(CC) -o test2 $(CFLAGS) test2.o $(OBJ) $(ERROR)
est3: test3.o $(OBJ) ; $(CC) -o test3 $(CFLAGS) test3.o $(OBJ) $(ERROR)
est4: test4.o $(OBJ) ; $(CC) -o test4 $(CFLAGS) test4.o $(OBJ) $(ERROR)
est5: test5.o $(OBJ) ; $(CC) -o test5 $(CFLAGS) test5.o $(OBJ) $(ERROR)
est6: test6.o $(OBJ) ; $(CC) -o test6 $(CFLAGS) test6.o $(OBJ) $(ERROR)
tchk: stchk.o stkdir.o
$(CC) -o stchk $(CFLAGS) stchk.o stkdir.o
THDRS= 7_10po.h 7_10process.h 7_10pr0.h 7_10pr1.h 7_10pr2.h 7_10pr3.h
DRS= process.h stackdir.h 7_10q.h $(STHDRS)
nt_pending.o: int_pending.c $(HDRS)
m_print.o: qm_print.c $(HDRS)
h_cons.o: qh_cons.c $(HDRS)
h_cut.o: qh_cut.c $(HDRS)
h_des.o: qh_des.c $(HDRS)
h_get.o: qh_get.c $(HDRS)
h_pending.o: qh_pending.c $(HDRS)
h_putback.o: qh_putback.c $(HDRS)
h_splice.o: qh_splice.c $(HDRS)
h_tail.o: qh_tail.c $(HDRS)
t_cons.o: qt_cons.c $(HDRS)
t_cut.o: qt_cut.c $(HDRS)
t_des.o: qt_des.c $(HDRS)
t_head.o: qt_head.c $(HDRS)
t_pending.o: qt_pending.c $(HDRS)
t_put.o: qt_put.c $(HDRS)
t_splice.o: qt_splice.c $(HDRS)
em_pending.o: sem_pending.c $(HDRS)
tkdir.o: stkdir.c $(STHDRS)
tchk.o: stchk.c $(STHDRS)
_cons.o: p_cons.c $(HDRS)
_des.o: p_des.c $(HDRS)
_dumpall.o: p_dumpall.c $(HDRS)
_exit.o: p_exit.c $(HDRS)
_kill.o: p_kill.c $(HDRS)
_main.o: p_main.c $(HDRS)
_pause.o: p_pause.c $(HDRS)
_pending.o: p_pending.c $(HDRS)
_restore.o: p_restore.c $(HDRS)
_result.o: p_result.c $(HDRS)
_rmlist.o: p_rmlist.c $(HDRS)
_runtask.o: p_runtask.c $(HDRS)
_save.o: p_save.c $(HDRS)
_schedule.o: p_schedule.c $(HDRS)
_setprior.o: p_setprior.c $(HDRS)
_stime.o: p_stime.c $(HDRS)
_shuffle.o: p_shuffle.c $(HDRS)
_sleep.o: p_sleep.c $(HDRS)
_wait.o: p_wait.c $(HDRS)
_waitvec.o: p_waitvec.c $(HDRS)
_wakeup.o: p_wakeup.c $(HDRS)
est1.o: test1.c $(HDRS)
est2.o: test2.c $(HDRS)
est3.o: test3.c $(HDRS)
est4.o: test4.c $(HDRS)
est5.o: test5.c $(HDRS)
est6.o: test6.c $(HDRS)
o_alert.o: po_alert.c $(HDRS)
o_dest.o: po_dest.c $(HDRS)
o_error.o: po_error.c $(HDRS)
o_forget.o: po_forget.c $(HDRS)
o_pending.o: po_pending.c $(HDRS)
o_print.o: po_print.c $(HDRS)
s_print.o: ps_print.c $(HDRS)
UT= test1.out test2.out test3.out test4.out test5.out test6.out
MP= test1.cmp test2.cmp test3.cmp test4.cmp test5.cmp test6.cmp
est1.out: test1 ; ./test1 2>/dev/null > test1.out
est2.out: test2 ; ./test2 2>/dev/null > test2.out
est3.out: test3 ; ./test3 2>/dev/null > test3.out
est4.out: test4 ; ./test4 2>/dev/null > test4.out
est5.out: test5 ; ./test5 2>/dev/null > test5.out
est6.out: test6 ; ./test6 2>/dev/null > test6.out
est: $(OUT) $(CMP)
cmp test1.out test1.cmp
cmp test2.out test2.cmp
cmp test3.out test3.cmp
cmp test4.out test4.cmp
cmp test5.out test5.cmp
cmp test6.out test6.cmp